package cn.stylefeng.guns.modular.manager.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 用户指南类型
 * </p>
 *
 * @author yumker
 * @since 2021-01-07
 */
@TableName("flow_userguide_type")
public class FlowUserguideType implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "userguide_type_id", type = IdType.AUTO)
    private Long userguideTypeId;

    @TableField("userguide_type_name")
    private String userguideTypeName;

    @TableField("orders")
    private Integer orders;

      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

      @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;
      @TableField(exist = false)
      private List<FlowUserguide> flowUserguides;


    public Long getUserguideTypeId() {
        return userguideTypeId;
    }

    public void setUserguideTypeId(Long userguideTypeId) {
        this.userguideTypeId = userguideTypeId;
    }

    public String getUserguideTypeName() {
        return userguideTypeName;
    }

    public void setUserguideTypeName(String userguideTypeName) {
        this.userguideTypeName = userguideTypeName;
    }

    public Integer getOrders() {
        return orders;
    }

    public void setOrders(Integer orders) {
        this.orders = orders;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public List<FlowUserguide> getFlowUserguides() {
        return flowUserguides;
    }

    public void setFlowUserguides(List<FlowUserguide> flowUserguides) {
        this.flowUserguides = flowUserguides;
    }

    @Override
    public String toString() {
        return "FlowUserguideType{" +
        "userguideTypeId=" + userguideTypeId +
        ", userguideTypeName=" + userguideTypeName +
        ", orders=" + orders +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        "}";
    }
}
